﻿var Timer = {

    TimerId: 0,
    Interval: 100,

    Start: function () {
        if (this._TimerId == null) {
            this._Interval = 100;
            TimerId = setInterval(Timer.Tick, 100);
        }
    },

    Stop: function () {
        if (this.TimerId != null) {
            clearInterval(this.TimerId);
        }
    },

    Tick: function () {
        jQuery('.t').Tick();
    }

}

var TimerStack = {

    Stack: new Array(),
    LastProcessedIdx: 0,

    Add: function (functionCall, Id) {
    },

    ProcessNext: function () {
    }

}